<table width="100%" border="1" align="center" cellpadding="1" cellspacing="1" class="table table-bordered table-hover table-stripeds">
  <tr class="info">
    <td width="15%" align="center">学号</td>
    <td width="11%" align="center">姓名</td>
    <td width="14%" align="center">性别</td>
    <td width="16%" align="center">年级</td>
    <td width="15%" align="center">专业</td>
    <td width="21%" align="center">班级</td>
    <td width="8%" align="center">详细信息</td>
  </tr>
  <volist name="list" id="vo">
  <tr>
    <td align="center"><{$vo.sid}>&nbsp;</td>
    <td align="center"><{$vo.name}>&nbsp;</td>
    <td align="center"><{$vo.sex}>&nbsp;</td>
    <td align="center"><{$vo.grade}>&nbsp;</td>
    <td align="center"><{$vo.major}>&nbsp;</td>
    <td align="center"><{$vo.class}>&nbsp;</td>
    <td align="center"><a name="look" title="<{$vo.sid}>">查看</a></td>
  </tr>
  </volist>
</table>
<script>
    var looks=document.getElementsByName("look");
    for(var w=0;w<looks.length;w++){
        looks[w].onclick=function(){
            showDetail(this.title);
        }
    }
</script>